// import Home from '@/pages/home/index.vue';
const Home = () => import('@/pages/home/index.vue');
const Login = () => import('@/pages/login.vue')

const routes = [
	/**
	 * path: 路径为 / 时触发该路由规则
	 * name: 路由的 name 为 Home
	 * component: 触发路由时加载 `Home` 组件
	 */
    {
        path: '/',
        name: 'Home',
        component: Home
    },
	{
        path: '/login',
        name: 'Login',
        component: Login
    }
];

export default routes;
